Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dist-git: make the cgitrc include file smaller #2793

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

praiskup
Copy link
Member

In Fedora Copr, it goes from 550M to 94M. This minimizes the issues with cgit. The additional metadata were default, or just stub, so we can live with that.

Also, don't use cat <<EOF pattern to avoid unnecessary fork() calls by shell, use echo build-tin.

Fixes: #2410

In Fedora Copr, it goes from 550M to 94M.  This minimizes the issues
with cgit.  The additional metadata were default, or just stub, so we
can live with that.

Also, don't use `cat <<EOF` pattern to avoid unnecessary fork() calls by
shell, use echo build-tin.

Fixes: fedora-copr#2410
@praiskup praiskup merged commit db0dbc5 into fedora-copr:main Jun 27, 2023
7 checks passed
@sergiomb2
Copy link
Contributor

cool , cgit is working, thanks

@praiskup praiskup deleted the cgit-speedup branch June 27, 2023 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Every single cgit http request to copr-dist-git easts CPU for several seconds
3 participants